package com.interviewbackend.service;

import com.interviewbackend.dto.MultimodalDataRequestDTO;

import java.util.concurrent.CompletableFuture;
import java.util.concurrent.Future;

public interface MultimodalAnalysisService {

    /**
     * 接收并分析上传的图像和音频文本数据，暂存分析结果
     * @param request 上传的图像和文本数据
     * @return 返回分析状态
     */
    void analyzeAndStore(MultimodalDataRequestDTO request);

    void finalizeAnalysis(String sessionId, String answerText);

    void trackAnalyzeFuture(String sessionId, java.util.concurrent.CompletableFuture<Void> future);

    void waitForAllAnalysisCompleted(String sessionId);
}
